import React, { Component } from "react";
import Header from "../../components/about/Header";
import Footer from "../../components/news/Footer";
import ArticleDetail from "../../components/news/ArticleDetail";

class NewsDetail extends Component {
  constructor(props) {
    super(props);
  }
  componentDidMount() {
    console.log(this.props.match.params.id);
  }
  render() {
    return (
      <div id="app">
        <Header></Header>
        <div className="content-wrapper">
            <ArticleDetail id={this.props.match.params.id}></ArticleDetail>
        </div>
        <Footer></Footer>
      </div>
    );
  }
}
export default NewsDetail;
